<h1 class="work_area">Editing article source</h1>

<%if(!flash[:redrover_notice].nil? )%>
<p class="info">
    <%=h(flash[:redrover_notice])%>
</p>
<%end%>
<p>
    Drag and drop a picture from this pool to the body editing text area if you need it on your article
</p>


<%#Pictures ajax attemp%>
<%=collapsable_panel(self.render(:partial => "draggable_image_panel"),"Images Pool, click here to hide/show","select_image_panel","display:none;border:1px solid black")%>

<p id="indicator" style="display:none">
    Linking image, it may take a while.
</p>


<%= start_form_tag :action => 'update_article', :id => @article %>
  <%= render :partial => 'form_article' %>
  <%= submit_tag 'Edit' %>
<%= end_form_tag %>

<%= #link_to 'Include in a section', :action => 'new_article_from_article_source', :article_source => @article_source.id 
#link_to 'Show', :action => 'show_article', :id => @article 
%>